<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
방등록 성공 페이지 (room_input_success.jsp) <br><br>

RoomNumber : ${requestScope.rdto.roomNo }<br>
객실 종류 : ${requestScope.rdto.property.propertyTypeContents }<br>
랜트범위 : ${requestScope.rdto.privacy.privacyContents }<br>
숙박가능인원 : ${requestScope.rdto.accommodates }<br>
침실수 : ${requestScope.rdto.bedrooms }<br>
제목 : ${requestScope.rdto.title }<br>
설명 <br> ${requestScope.rdto.description }<br>
휴대폰번호 : ${requestScope.rdto.phone }<br>
국가 : ${requestScope.rdto.nation }<br>
우편번호 : ${requestScope.rdto.address.zipcode }<br>
시/도 : ${requestScope.rdto.address.sido }<br>
구/군 : ${requestScope.rdto.address.gugun }<br>
동 : ${requestScope.rdto.address.dong }<br>
상세주소 : ${requestScope.rdto.addDetail }<br>
1일 기준 가격($) : ${requestScope.rdto.price1 }<br>
7일 기준 가격($) : ${requestScope.rdto.price7 }<br>
30일 기준 가격($) : ${requestScope.rdto.price30 }<br>
체크인 시간 : ${requestScope.rdto.checkInTime }<br>
체크아웃 시간 : ${requestScope.rdto.checkOutTime }<br>
환불정책 : ${requestScope.rdto.refund.refundPolicyContents }<br>

	<c:forEach items="${requestScope.flist }" var="fdto" varStatus="cnt">				
		<c:choose>
			<c:when test="${cnt.count==1 }">
				<img  width="600px" height="400px" src="/home_sharing_system/uproomfile/${fdto.fileName }"><br>
			</c:when>
			<c:otherwise>
				<img  width="300px" height="200px" src="/home_sharing_system/uproomfile/${fdto.fileName }">
			</c:otherwise>
		</c:choose>
	</c:forEach>

<hr>
<a href='modifymenu.do?roomNo=${requestScope.rdto.roomNo }'>방정보수정</a>
<a href='/home_sharing_system/myRoomList.do?memberId=${requestScope.rdto.memberId }'>내가등록한 방목록</a>
<a href='/home_sharing_system/deleteRoom.do?roomNo=${requestScope.rdto.roomNo }&memberId=${requestScope.rdto.memberId }'>등록한 방 삭제</a>
</body>
</html>